package com.briup.estore.common.dto;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * @Author briup-adam
 * @Date 2023/7/28 下午3:55
 * @Description 订单支付成功数据传输对象
 **/


public class OrderPaySuccessDTO {
    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 支付时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp payDate;

    /**
     * 支付方式 目前只支持 支付宝支付
     */
    private String payWay;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Timestamp getPayDate() {
        return payDate;
    }

    public void setPayDate(Timestamp payDate) {
        this.payDate = payDate;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }
}
